<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Signin Template for Bootstrap</title>
    <!-- Bootstrap core CSS -->
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- Custom styles for this template -->
    <link href="asserts/css/signin.css" th:href="@{/asserts/css/signin.css}" rel="stylesheet">
    <style >
        body{
            background: url("https://com-hqj-oss.oss-cn-beijing.aliyuncs.com/nanfen/bg2.jpg");
            color: #ffffff;
        }
    </style>
</head>
<body>
<div>
    <div>
        <h2>欢迎登录南风后台</h2>
    </div>
    <div>
        <form th:action="@{/login2}" method="post">
            <p style="color: red" th:text="${msg}" th:if=" not ${#strings.isEmpty(msg)}"></p>
            <div class="form-group">
                <label for="exampleInputEmail1">账户</label>
                <input type="text" class="form-control" name="username" id="exampleInputEmail1" placeholder="请输入账户">
            </div>
            <div class="form-group">
                <label for="exampleInputPassword1">密码</label>
                <input type="password" class="form-control" name="password" id="exampleInputPassword1" placeholder="请输入密码">
            </div>
            <div class="checkbox">
                <label>
                    <input type="checkbox"> 记住我
                </label>
                <span style="margin-left: 60px" class="label label-warning"><a>忘记密码</a></span>
            </div>
            <button type="submit" class="btn btn-primary" style="width: 100%">立即登录</button>
        </form>
    </div>
</div>
</body>
</html>